/**
* Copyright (C) 2009 IcyRiver / Wesley He
*
* IcyRiver Lib may be copied only under the terms of the GNU General
* Public License V1, which may be found in the IcyRiver.net source kit.
* Please visit the IcyRiver Home Page http://icyriver.net/ for more detail.
**/

//thread.h

#ifndef _THREAD_H_
#define _THREAD_H_

#define __DEBUG__   1

#ifdef __cplusplus
extern "C" {
#endif

int g_thread_init_pthread_lock(pthread_mutex_t *pthread_lock);

int g_thread_init_pthread_attr(pthread_attr_t *pattr);

void* g_thread_entrance(void* arg);

#ifdef __cplusplus
}
#endif

#endif

